home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / forth / pfe-0.000 / pfe-0 / pfe-0.9.13 / src / config / HPUXRISC / options.mk
Encoding:
Text File  |  1995-05-12  |  977 b   |  42 lines

  1. #
  2. # HPUXRISC/options.mk ---
  3. # Part of Makefile for PFE, compiler options for HP-UX on PA-RISC machines.
  4. #
  5.  
  6. # You can use gcc or the HP c89 compiler.
  7. # For some time the HP compiler didn't work with -O (which is +O2)
  8. # but worked with +O1. Try it, you'll see immediately if your's still
  9. # doesn't work.
  10. # Another problem with the HP-compiler is that it fails to handle the
  11. # `const' keyword correctly in one place in file `dictnry.c'. That's
  12. # why const is #defined to nothing.
  13. # No problem with gcc which is faster anyway due to the global register
  14. # variables.
  15.  
  16. PREFIX    = /usr/local
  17. PFELIB    = $(PREFIX)/lib/pfe
  18. PFEHLP    = $(PFELIB)/help
  19.  
  20. SYSTEM    = HPUX
  21.  
  22. CC    = gcc -pipe -Wall
  23. OPTIM    = -O2 -fomit-frame-pointer -DUSE_REGS
  24. DEBUG    = -g -O
  25. OPTIONS    = -D_HPUX_SOURCE -DUSE_TERMCAP
  26.  
  27. #CC    = c89 -Aa
  28. #OPTIM    = +O1
  29. #DEBUG    = -g
  30. #OPTIONS = -D_HPUX_SOURCE -DUSE_TERMCAP -Dconst=""
  31.  
  32. CL    = $(CC)
  33. CPP    = $(CC) -E
  34.  
  35. STRIP    = -s
  36. TERM_O    = termunix$o
  37. SYS_O    = unix$o
  38. LFLAGS    = -L/lib/pa1.1
  39. LIBS    = -lcurses -lm
  40.  
  41.  
  42.